<template>
  <div>
    <nav-bar></nav-bar>
    <un-finish></un-finish>
    <finish></finish>
  </div>
</template>

<script>
import axios from "axios";
import NavBar from "./childComps/NavBar";
import Finish from "./childComps/Finish";
import UnFinish from "./childComps/UnFinish";

export default {
  name: "ToDoList",
  components: {
    NavBar,
    Finish,
    UnFinish,
  },
  data() {
    return {};
  },
  mounted() {
    axios
      .get("http://114.132.210.22")
      .then((res) => (this.todoLists = res.data));
  },
};
</script>

<style scoped>
</style>